<include file="Public/header.html"/>
    <div class="index-search">
        <div class="index-search-g">
            <div class="f-l">
                <span>
                    热门关键词：
                    <foreach name="sort" item="s" key="k">
                        <a href="{:U('Product/index',array('pr'=>$k))}">{$s['sort']}</a>
                    </foreach>
                </span>
            </div>
            <!-- <div class="f-r">
                <input type="text" placeholder="请输入关键词搜索" />
                <button><i class="font">&#xe70b;</i>搜索</button>
            </div> -->
        </div>
    </div>
    <div class="index-new">
        <div class="cml-g">
            <div class="am-u-sm-12 am-u-md-4 am-u-lg-4">
                <div class="index-new-left">
                    <div class="cm-title">
                        <em>{$abo['title']}</em>
                    </div>
                    <div class="index-new-about">
                        <h1>
                            {:mb_strimwidth($abo['content'],0,460,"...","utf-8")}
                        </h1>
                    </div>
                </div>
            </div>
            <div class="am-u-sm-12 am-u-md-8 am-u-lg-8">
                <div class="index-new-right">
                    <div class="cm-title">
                        <em>苗木知识</em>
                    </div>
                    <div class="index-new-tab">
                        <div class="am-tabs">
                            <ul class="am-tabs-nav am-nav am-nav-tabs">
                                <foreach name="musort" item="m" key="k">
                                    <li class="know1" data="{$k}"><a>{$m['sort']}</a></li>
                                </foreach>
                                 <!-- class="am-active" -->
                            </ul>
                            <div class="am-tabs-bd" id="know">
                                 <!-- am-active -->
                                <foreach name="musort" item="m" key="k">
                                    <div class="am-tab-panel know2" data="{$k}">
                                        <div class="index-new-tab-main">
                                            <div class="am-u-sm-4 am-u-md-4 am-u-lg-5">
                                                <div class="index-new-tab-img">
                                                    <a href=""><img src="__PUBLIC__/images/tab.jpg" /></a>
                                                </div>
                                            </div>
                                            <div class="am-u-sm-4 am-u-md-4 am-u-lg-7">
                                                <div class="index-new-tab-list">
                                                    <ul>
                                                        <foreach name="m['knowid']" item="s">
                                                        <li><a href="{:U('Lore/know_info',array('id'=>$s['id']))}"><div class="am-u-sm-8 am-u-md-8 am-u-lg-8"><strong class="f-toe">{$s['title']}</strong></div><div class="am-u-sm-4 am-u-md-4 am-u-lg-4  "><span>［{$s['time']|date="Y-m-d",###}］</span></div></a></li>
                                                        </foreach>
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </foreach>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

<volist name="sort" id="z">
    <div class="index-product">
        <div class="cml-g">
            <div class="cm-title">
                <em>{$z['sort']}</em>
            </div>
            <div class="index-product-silder">
                <div class="am-slider am-slider-default am-slider-carousel"
                     data-am-flexslider="{itemWidth: 200, itemMargin: 5, slideshow: false}">
                    <ul class="am-slides">
                        <foreach name="z['product']" item="a">
                            <li><a href="{:U('Product/product_info',array('id'=>$a['id']))}"><img src="{$a['image']}" style="height:170px;"/><span class="f-toe">{$a['product']}</span></a></li>
                        </foreach>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</volist>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/youce/youce.css">
<include file="Public/youce/youce.html"/>
<script type="text/javascript" src="__PUBLIC__/youce/youce.js"></script>
<script type="text/javascript">
    $(".know1").eq(0).addClass('am-active').siblings().removeClass('am-active');
    $(".know2").eq(0).addClass('am-active').siblings().removeClass('am-active');
    $(".know1").click(function(){
        var k = $(this).attr('data');
        $(this).addClass('am-active').siblings().removeClass('am-active');
        $(".know2").eq(k).addClass('am-active').siblings().removeClass('am-active');
    })
</script>
    ﻿<include file="Public/footer.html"/>
</body>
</html>